/* Карточки с котиками на главной странице
---------------------------------------- */


.card {
    padding: 20px;
    text-align: center;
    background: url("../img/cat.jpg") no-repeat center / cover;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s ease-out;
}

.card>* {
    position: relative;
    z-index: 2;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.501);
    backdrop-filter: blur(2px);
    transition: backdrop-filter .3s linear;
    transition: background-color .4s linear;
}

.card:hover {
    transform: scale(1.12);
}

.card:hover::before {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0);
    transform: scale(1.2);
}

.like::after {
    content: "\2764";
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    z-index: 3;
    color: #f00;
    top: 10px;
    right: 10px;
}

.nameCat {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    color: rgba(29, 29, 29, 0.85);
    position: absolute;
    bottom: 10px;
}
